package com.jmye.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Description
 * @Date 2024/11/26 下午9:09
 * @Author jmye
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Order {
    private Integer id;
    private Date orderTime;
    private double total;
    // 订单所属的用户
    private User user;
}
